3.97 \(\int \frac{(d+e x^2)^2 (a+b \csc ^{-1}(c x))}{x^3} \, dx\)

Optimal. Leaf size=189 \[ i b d e \text{PolyLog}\left (2,e^{2 i \csc ^{-1}(c x)}\right )-\frac{d^2 \left (a+b \csc ^{-1}(c x)\right )}{2 x^2}-2 d e \log \left (\frac{1}{x}\right ) \left (a+b \csc ^{-1}(c x)\right )+\frac{1}{2} e^2 x^2 \left (a+b \csc ^{-1}(c x)\right )-\frac{b c d^2 \sqrt{1-\frac{1}{c^2 x^2}}}{4 x}+\frac{1}{4} b c^2 d^2 \csc ^{-1}(c x)+\frac{b e^2 x \sqrt{1-\frac{1}{c^2 x^2}}}{2 c}+i b d e \csc ^{-1}(c x)^2-2 b d e \csc ^{-1}(c x) \log \left (1-e^{2 i \csc ^{-1}(c x)}\right )+2 b d e \log \left (\frac{1}{x}\right ) \csc ^{-1}(c x) \]

[Out]

-(b*c*d^2*Sqrt[1 - 1/(c^2*x^2)])/(4*x) + (b*e^2*Sqrt[1 - 1/(c^2*x^2)]*x)/(2*c) + (b*c^2*d^2*ArcCsc[c*x])/4 + I
*b*d*e*ArcCsc[c*x]^2 - (d^2*(a + b*ArcCsc[c*x]))/(2*x^2) + (e^2*x^2*(a + b*ArcCsc[c*x]))/2 - 2*b*d*e*ArcCsc[c*
x]*Log[1 - E^((2*I)*ArcCsc[c*x])] + 2*b*d*e*ArcCsc[c*x]*Log[x^(-1)] - 2*d*e*(a + b*ArcCsc[c*x])*Log[x^(-1)] +
I*b*d*e*PolyLog[2, E^((2*I)*ArcCsc[c*x])]

________________________________________________________________________________________

Rubi [A]  time = 0.429612, antiderivative size = 189, normalized size of antiderivative = 1., number of steps used = 14, number of rules used = 15, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.714, Rules used = {5241, 266, 43, 4731, 12, 6742, 264, 321, 216, 2326, 4625, 3717, 2190, 2279, 2391} \[ i b d e \text{PolyLog}\left (2,e^{2 i \csc ^{-1}(c x)}\right )-\frac{d^2 \left (a+b \csc ^{-1}(c x)\right )}{2 x^2}-2 d e \log \left (\frac{1}{x}\right ) \left (a+b \csc ^{-1}(c x)\right )+\frac{1}{2} e^2 x^2 \left (a+b \csc ^{-1}(c x)\right )-\frac{b c d^2 \sqrt{1-\frac{1}{c^2 x^2}}}{4 x}+\frac{1}{4} b c^2 d^2 \csc ^{-1}(c x)+\frac{b e^2 x \sqrt{1-\frac{1}{c^2 x^2}}}{2 c}+i b d e \csc ^{-1}(c x)^2-2 b d e \csc ^{-1}(c x) \log \left (1-e^{2 i \csc ^{-1}(c x)}\right )+2 b d e \log \left (\frac{1}{x}\right ) \csc ^{-1}(c x) \]

Antiderivative was successfully verified.

[In]

Int[((d + e*x^2)^2*(a + b*ArcCsc[c*x]))/x^3,x]

[Out]

-(b*c*d^2*Sqrt[1 - 1/(c^2*x^2)])/(4*x) + (b*e^2*Sqrt[1 - 1/(c^2*x^2)]*x)/(2*c) + (b*c^2*d^2*ArcCsc[c*x])/4 + I
*b*d*e*ArcCsc[c*x]^2 - (d^2*(a + b*ArcCsc[c*x]))/(2*x^2) + (e^2*x^2*(a + b*ArcCsc[c*x]))/2 - 2*b*d*e*ArcCsc[c*
x]*Log[1 - E^((2*I)*ArcCsc[c*x])] + 2*b*d*e*ArcCsc[c*x]*Log[x^(-1)] - 2*d*e*(a + b*ArcCsc[c*x])*Log[x^(-1)] +
I*b*d*e*PolyLog[2, E^((2*I)*ArcCsc[c*x])]

Rule 5241

Int[((a_.) + ArcCsc[(c_.)*(x_)]*(b_.))^(n_.)*(x_)^(m_.)*((d_.) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> -Subst[Int[
((e + d*x^2)^p*(a + b*ArcSin[x/c])^n)/x^(m + 2*(p + 1)), x], x, 1/x] /; FreeQ[{a, b, c, d, e, n}, x] && IGtQ[n
, 0] && IntegerQ[m] && IntegerQ[p]

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 4731

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> With[{u =
IntHide[(f*x)^m*(d + e*x^2)^p, x]}, Dist[a + b*ArcSin[c*x], u, x] - Dist[b*c, Int[SimplifyIntegrand[u/Sqrt[1 -
 c^2*x^2], x], x], x]] /; FreeQ[{a, b, c, d, e, f, m}, x] && NeQ[c^2*d + e, 0] && IntegerQ[p] && (GtQ[p, 0] ||
 (IGtQ[(m - 1)/2, 0] && LeQ[m + p, 0]))

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 6742

Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v]]

Rule 264

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[((c*x)^(m + 1)*(a + b*x^n)^(p + 1))/(a
*c*(m + 1)), x] /; FreeQ[{a, b, c, m, n, p}, x] && EqQ[(m + 1)/n + p + 1, 0] && NeQ[m, -1]

Rule 321

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c^(n - 1)*(c*x)^(m - n + 1)*(a + b*x^n
)^(p + 1))/(b*(m + n*p + 1)), x] - Dist[(a*c^n*(m - n + 1))/(b*(m + n*p + 1)), Int[(c*x)^(m - n)*(a + b*x^n)^p
, x], x] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0] && GtQ[m, n - 1] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b,
 c, n, m, p, x]

Rule 216

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Simp[ArcSin[(Rt[-b, 2]*x)/Sqrt[a]]/Rt[-b, 2], x] /; FreeQ[{a, b}
, x] && GtQ[a, 0] && NegQ[b]

Rule 2326

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))/Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Simp[(ArcSin[(Rt[-e, 2]*x)/S
qrt[d]]*(a + b*Log[c*x^n]))/Rt[-e, 2], x] - Dist[(b*n)/Rt[-e, 2], Int[ArcSin[(Rt[-e, 2]*x)/Sqrt[d]]/x, x], x]
/; FreeQ[{a, b, c, d, e, n}, x] && GtQ[d, 0] && NegQ[e]

Rule 4625

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)/(x_), x_Symbol] :> Subst[Int[(a + b*x)^n/Tan[x], x], x, ArcSin[c*
x]] /; FreeQ[{a, b, c}, x] && IGtQ[n, 0]

Rule 3717

Int[((c_.) + (d_.)*(x_))^(m_.)*tan[(e_.) + Pi*(k_.) + (f_.)*(x_)], x_Symbol] :> Simp[(I*(c + d*x)^(m + 1))/(d*
(m + 1)), x] - Dist[2*I, Int[((c + d*x)^m*E^(2*I*k*Pi)*E^(2*I*(e + f*x)))/(1 + E^(2*I*k*Pi)*E^(2*I*(e + f*x)))
, x], x] /; FreeQ[{c, d, e, f}, x] && IntegerQ[4*k] && IGtQ[m, 0]

Rule 2190

Int[(((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.))/((a_) + (b_.)*((F_)^((g_.)*((e_.) +
 (f_.)*(x_))))^(n_.)), x_Symbol] :> Simp[((c + d*x)^m*Log[1 + (b*(F^(g*(e + f*x)))^n)/a])/(b*f*g*n*Log[F]), x]
 - Dist[(d*m)/(b*f*g*n*Log[F]), Int[(c + d*x)^(m - 1)*Log[1 + (b*(F^(g*(e + f*x)))^n)/a], x], x] /; FreeQ[{F,
a, b, c, d, e, f, g, n}, x] && IGtQ[m, 0]

Rule 2279

Int[Log[(a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)], x_Symbol] :> Dist[1/(d*e*n*Log[F]), Subst[Int
[Log[a + b*x]/x, x], x, (F^(e*(c + d*x)))^n], x] /; FreeQ[{F, a, b, c, d, e, n}, x] && GtQ[a, 0]

Rule 2391

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> -Simp[PolyLog[2, -(c*e*x^n)]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rubi steps

\begin{align*} \int \frac{\left (d+e x^2\right )^2 \left (a+b \csc ^{-1}(c x)\right )}{x^3} \, dx &=-\operatorname{Subst}\left (\int \frac{\left (e+d x^2\right )^2 \left (a+b \sin ^{-1}\left (\frac{x}{c}\right )\right )}{x^3} \, dx,x,\frac{1}{x}\right )\\ &=-\frac{d^2 \left (a+b \csc ^{-1}(c x)\right )}{2 x^2}+\frac{1}{2} e^2 x^2 \left (a+b \csc ^{-1}(c x)\right )-2 d e \left (a+b \csc ^{-1}(c x)\right ) \log \left (\frac{1}{x}\right )+\frac{b \operatorname{Subst}\left (\int \frac{-\frac{e^2}{x^2}+d^2 x^2+4 d e \log (x)}{2 \sqrt{1-\frac{x^2}{c^2}}} \, dx,x,\frac{1}{x}\right )}{c}\\ &=-\frac{d^2 \left (a+b \csc ^{-1}(c x)\right )}{2 x^2}+\frac{1}{2} e^2 x^2 \left (a+b \csc ^{-1}(c x)\right )-2 d e \left (a+b \csc ^{-1}(c x)\right ) \log \left (\frac{1}{x}\right )+\frac{b \operatorname{Subst}\left (\int \frac{-\frac{e^2}{x^2}+d^2 x^2+4 d e \log (x)}{\sqrt{1-\frac{x^2}{c^2}}} \, dx,x,\frac{1}{x}\right )}{2 c}\\ &=-\frac{d^2 \left (a+b \csc ^{-1}(c x)\right )}{2 x^2}+\frac{1}{2} e^2 x^2 \left (a+b \csc ^{-1}(c x)\right )-2 d e \left (a+b \csc ^{-1}(c x)\right ) \log \left (\frac{1}{x}\right )+\frac{b \operatorname{Subst}\left (\int \left (-\frac{e^2}{x^2 \sqrt{1-\frac{x^2}{c^2}}}+\frac{d^2 x^2}{\sqrt{1-\frac{x^2}{c^2}}}+\frac{4 d e \log (x)}{\sqrt{1-\frac{x^2}{c^2}}}\right ) \, dx,x,\frac{1}{x}\right )}{2 c}\\ &=-\frac{d^2 \left (a+b \csc ^{-1}(c x)\right )}{2 x^2}+\frac{1}{2} e^2 x^2 \left (a+b \csc ^{-1}(c x)\right )-2 d e \left (a+b \csc ^{-1}(c x)\right ) \log \left (\frac{1}{x}\right )+\frac{\left (b d^2\right ) \operatorname{Subst}\left (\int \frac{x^2}{\sqrt{1-\frac{x^2}{c^2}}} \, dx,x,\frac{1}{x}\right )}{2 c}+\frac{(2 b d e) \operatorname{Subst}\left (\int \frac{\log (x)}{\sqrt{1-\frac{x^2}{c^2}}} \, dx,x,\frac{1}{x}\right )}{c}-\frac{\left (b e^2\right ) \operatorname{Subst}\left (\int \frac{1}{x^2 \sqrt{1-\frac{x^2}{c^2}}} \, dx,x,\frac{1}{x}\right )}{2 c}\\ &=-\frac{b c d^2 \sqrt{1-\frac{1}{c^2 x^2}}}{4 x}+\frac{b e^2 \sqrt{1-\frac{1}{c^2 x^2}} x}{2 c}-\frac{d^2 \left (a+b \csc ^{-1}(c x)\right )}{2 x^2}+\frac{1}{2} e^2 x^2 \left (a+b \csc ^{-1}(c x)\right )+2 b d e \csc ^{-1}(c x) \log \left (\frac{1}{x}\right )-2 d e \left (a+b \csc ^{-1}(c x)\right ) \log \left (\frac{1}{x}\right )+\frac{1}{4} \left (b c d^2\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-\frac{x^2}{c^2}}} \, dx,x,\frac{1}{x}\right )-(2 b d e) \operatorname{Subst}\left (\int \frac{\sin ^{-1}\left (\frac{x}{c}\right )}{x} \, dx,x,\frac{1}{x}\right )\\ &=-\frac{b c d^2 \sqrt{1-\frac{1}{c^2 x^2}}}{4 x}+\frac{b e^2 \sqrt{1-\frac{1}{c^2 x^2}} x}{2 c}+\frac{1}{4} b c^2 d^2 \csc ^{-1}(c x)-\frac{d^2 \left (a+b \csc ^{-1}(c x)\right )}{2 x^2}+\frac{1}{2} e^2 x^2 \left (a+b \csc ^{-1}(c x)\right )+2 b d e \csc ^{-1}(c x) \log \left (\frac{1}{x}\right )-2 d e \left (a+b \csc ^{-1}(c x)\right ) \log \left (\frac{1}{x}\right )-(2 b d e) \operatorname{Subst}\left (\int x \cot (x) \, dx,x,\csc ^{-1}(c x)\right )\\ &=-\frac{b c d^2 \sqrt{1-\frac{1}{c^2 x^2}}}{4 x}+\frac{b e^2 \sqrt{1-\frac{1}{c^2 x^2}} x}{2 c}+\frac{1}{4} b c^2 d^2 \csc ^{-1}(c x)+i b d e \csc ^{-1}(c x)^2-\frac{d^2 \left (a+b \csc ^{-1}(c x)\right )}{2 x^2}+\frac{1}{2} e^2 x^2 \left (a+b \csc ^{-1}(c x)\right )+2 b d e \csc ^{-1}(c x) \log \left (\frac{1}{x}\right )-2 d e \left (a+b \csc ^{-1}(c x)\right ) \log \left (\frac{1}{x}\right )+(4 i b d e) \operatorname{Subst}\left (\int \frac{e^{2 i x} x}{1-e^{2 i x}} \, dx,x,\csc ^{-1}(c x)\right )\\ &=-\frac{b c d^2 \sqrt{1-\frac{1}{c^2 x^2}}}{4 x}+\frac{b e^2 \sqrt{1-\frac{1}{c^2 x^2}} x}{2 c}+\frac{1}{4} b c^2 d^2 \csc ^{-1}(c x)+i b d e \csc ^{-1}(c x)^2-\frac{d^2 \left (a+b \csc ^{-1}(c x)\right )}{2 x^2}+\frac{1}{2} e^2 x^2 \left (a+b \csc ^{-1}(c x)\right )-2 b d e \csc ^{-1}(c x) \log \left (1-e^{2 i \csc ^{-1}(c x)}\right )+2 b d e \csc ^{-1}(c x) \log \left (\frac{1}{x}\right )-2 d e \left (a+b \csc ^{-1}(c x)\right ) \log \left (\frac{1}{x}\right )+(2 b d e) \operatorname{Subst}\left (\int \log \left (1-e^{2 i x}\right ) \, dx,x,\csc ^{-1}(c x)\right )\\ &=-\frac{b c d^2 \sqrt{1-\frac{1}{c^2 x^2}}}{4 x}+\frac{b e^2 \sqrt{1-\frac{1}{c^2 x^2}} x}{2 c}+\frac{1}{4} b c^2 d^2 \csc ^{-1}(c x)+i b d e \csc ^{-1}(c x)^2-\frac{d^2 \left (a+b \csc ^{-1}(c x)\right )}{2 x^2}+\frac{1}{2} e^2 x^2 \left (a+b \csc ^{-1}(c x)\right )-2 b d e \csc ^{-1}(c x) \log \left (1-e^{2 i \csc ^{-1}(c x)}\right )+2 b d e \csc ^{-1}(c x) \log \left (\frac{1}{x}\right )-2 d e \left (a+b \csc ^{-1}(c x)\right ) \log \left (\frac{1}{x}\right )-(i b d e) \operatorname{Subst}\left (\int \frac{\log (1-x)}{x} \, dx,x,e^{2 i \csc ^{-1}(c x)}\right )\\ &=-\frac{b c d^2 \sqrt{1-\frac{1}{c^2 x^2}}}{4 x}+\frac{b e^2 \sqrt{1-\frac{1}{c^2 x^2}} x}{2 c}+\frac{1}{4} b c^2 d^2 \csc ^{-1}(c x)+i b d e \csc ^{-1}(c x)^2-\frac{d^2 \left (a+b \csc ^{-1}(c x)\right )}{2 x^2}+\frac{1}{2} e^2 x^2 \left (a+b \csc ^{-1}(c x)\right )-2 b d e \csc ^{-1}(c x) \log \left (1-e^{2 i \csc ^{-1}(c x)}\right )+2 b d e \csc ^{-1}(c x) \log \left (\frac{1}{x}\right )-2 d e \left (a+b \csc ^{-1}(c x)\right ) \log \left (\frac{1}{x}\right )+i b d e \text{Li}_2\left (e^{2 i \csc ^{-1}(c x)}\right )\\ \end{align*}

Mathematica [A]  time = 0.640438, size = 187, normalized size = 0.99 \[ \frac{1}{4} \left (4 i b d e \left (\csc ^{-1}(c x)^2+\text{PolyLog}\left (2,e^{2 i \csc ^{-1}(c x)}\right )\right )-\frac{2 a d^2}{x^2}+8 a d e \log (x)+2 a e^2 x^2-\frac{b c d^2 \sqrt{1-\frac{1}{c^2 x^2}} \left (\frac{c^2 x^2 \tanh ^{-1}\left (\sqrt{1-c^2 x^2}\right )}{\sqrt{1-c^2 x^2}}+1\right )}{x}+\frac{2 b e^2 x \left (\sqrt{1-\frac{1}{c^2 x^2}}+c x \csc ^{-1}(c x)\right )}{c}-\frac{2 b d^2 \csc ^{-1}(c x)}{x^2}-8 b d e \csc ^{-1}(c x) \log \left (1-e^{2 i \csc ^{-1}(c x)}\right )\right ) \]

Warning: Unable to verify antiderivative.

[In]

Integrate[((d + e*x^2)^2*(a + b*ArcCsc[c*x]))/x^3,x]

[Out]

((-2*a*d^2)/x^2 + 2*a*e^2*x^2 - (2*b*d^2*ArcCsc[c*x])/x^2 + (2*b*e^2*x*(Sqrt[1 - 1/(c^2*x^2)] + c*x*ArcCsc[c*x
]))/c - (b*c*d^2*Sqrt[1 - 1/(c^2*x^2)]*(1 + (c^2*x^2*ArcTanh[Sqrt[1 - c^2*x^2]])/Sqrt[1 - c^2*x^2]))/x - 8*b*d
*e*ArcCsc[c*x]*Log[1 - E^((2*I)*ArcCsc[c*x])] + 8*a*d*e*Log[x] + (4*I)*b*d*e*(ArcCsc[c*x]^2 + PolyLog[2, E^((2
*I)*ArcCsc[c*x])]))/4

________________________________________________________________________________________

Maple [A]  time = 0.7, size = 276, normalized size = 1.5 \begin{align*}{\frac{a{x}^{2}{e}^{2}}{2}}-{\frac{a{d}^{2}}{2\,{x}^{2}}}+2\,aed\ln \left ( cx \right ) +ibde \left ({\rm arccsc} \left (cx\right ) \right ) ^{2}-{\frac{cb{d}^{2}}{4\,x}\sqrt{{\frac{{c}^{2}{x}^{2}-1}{{c}^{2}{x}^{2}}}}}+{\frac{b{c}^{2}{d}^{2}{\rm arccsc} \left (cx\right )}{4}}-{\frac{b{\rm arccsc} \left (cx\right ){d}^{2}}{2\,{x}^{2}}}+{\frac{b{\rm arccsc} \left (cx\right ){x}^{2}{e}^{2}}{2}}+{\frac{bx{e}^{2}}{2\,c}\sqrt{{\frac{{c}^{2}{x}^{2}-1}{{c}^{2}{x}^{2}}}}}-{\frac{{\frac{i}{2}}b{e}^{2}}{{c}^{2}}}-2\,bed{\rm arccsc} \left (cx\right )\ln \left ( 1+{\frac{i}{cx}}+\sqrt{1-{\frac{1}{{c}^{2}{x}^{2}}}} \right ) -2\,bed{\rm arccsc} \left (cx\right )\ln \left ( 1-{\frac{i}{cx}}-\sqrt{1-{\frac{1}{{c}^{2}{x}^{2}}}} \right ) +2\,ibed{\it polylog} \left ( 2,{\frac{-i}{cx}}-\sqrt{1-{\frac{1}{{c}^{2}{x}^{2}}}} \right ) +2\,ibed{\it polylog} \left ( 2,{\frac{i}{cx}}+\sqrt{1-{\frac{1}{{c}^{2}{x}^{2}}}} \right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x^2+d)^2*(a+b*arccsc(c*x))/x^3,x)

[Out]

1/2*a*x^2*e^2-1/2*a*d^2/x^2+2*a*e*d*ln(c*x)+I*b*d*e*arccsc(c*x)^2-1/4*c*b*d^2/x*((c^2*x^2-1)/c^2/x^2)^(1/2)+1/
4*b*c^2*d^2*arccsc(c*x)-1/2*b*arccsc(c*x)*d^2/x^2+1/2*b*arccsc(c*x)*x^2*e^2+1/2/c*b*((c^2*x^2-1)/c^2/x^2)^(1/2
)*x*e^2-1/2*I/c^2*b*e^2-2*b*e*d*arccsc(c*x)*ln(1+I/c/x+(1-1/c^2/x^2)^(1/2))-2*b*e*d*arccsc(c*x)*ln(1-I/c/x-(1-
1/c^2/x^2)^(1/2))+2*I*b*e*d*polylog(2,-I/c/x-(1-1/c^2/x^2)^(1/2))+2*I*b*e*d*polylog(2,I/c/x+(1-1/c^2/x^2)^(1/2
))

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \frac{1}{2} \, a e^{2} x^{2} + \frac{1}{4} \, b d^{2}{\left (\frac{\frac{c^{4} x \sqrt{-\frac{1}{c^{2} x^{2}} + 1}}{c^{2} x^{2}{\left (\frac{1}{c^{2} x^{2}} - 1\right )} - 1} - c^{3} \arctan \left (c x \sqrt{-\frac{1}{c^{2} x^{2}} + 1}\right )}{c} - \frac{2 \, \operatorname{arccsc}\left (c x\right )}{x^{2}}\right )} + 2 \, a d e \log \left (x\right ) - \frac{a d^{2}}{2 \, x^{2}} + \frac{4 i \, b c^{2} d e \log \left (-c x + 1\right ) \log \left (x\right ) + 4 i \, b c^{2} d e \log \left (x\right )^{2} + 4 i \, b c^{2} d e{\rm Li}_2\left (c x\right ) + 4 i \, b c^{2} d e{\rm Li}_2\left (-c x\right ) + 2 \,{\left (b c^{2} \arctan \left (1, \sqrt{c x + 1} \sqrt{c x - 1}\right ) + i \, b c^{2} \log \left (c\right )\right )} e^{2} x^{2} + i \, b e^{2} \log \left (c x - 1\right ) - i \,{\left (4 \,{\left ({\left (\log \left (c x + 1\right ) + \log \left (c x - 1\right ) - 2 \, \log \left (x\right )\right )} \log \left (x\right ) - \log \left (c x - 1\right ) \log \left (x\right ) + \log \left (-c x + 1\right ) \log \left (x\right ) + \log \left (x\right )^{2} +{\rm Li}_2\left (c x\right ) +{\rm Li}_2\left (-c x\right )\right )} b d e + b e^{2}{\left (\frac{\log \left (c x + 1\right )}{c^{2}} + \frac{\log \left (c x - 1\right )}{c^{2}}\right )}\right )} c^{2} + 2 \,{\left (4 \, b d e \int \frac{\sqrt{c x + 1} \sqrt{c x - 1} \log \left (x\right )}{c^{2} x^{3} - x}\,{d x} + \frac{\sqrt{c x + 1} \sqrt{c x - 1} b e^{2}}{c^{2}}\right )} c^{2} +{\left (-i \, b c^{2} e^{2} x^{2} - 4 i \, b c^{2} d e \log \left (x\right )\right )} \log \left (c^{2} x^{2}\right ) +{\left (4 i \, b c^{2} d e \log \left (x\right ) + i \, b e^{2}\right )} \log \left (c x + 1\right ) +{\left (2 i \, b c^{2} e^{2} x^{2} + 8 \,{\left (b c^{2} \arctan \left (1, \sqrt{c x + 1} \sqrt{c x - 1}\right ) + i \, b c^{2} \log \left (c\right )\right )} d e\right )} \log \left (x\right )}{4 \, c^{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d)^2*(a+b*arccsc(c*x))/x^3,x, algorithm="maxima")

[Out]

1/2*a*e^2*x^2 + 1/4*b*d^2*((c^4*x*sqrt(-1/(c^2*x^2) + 1)/(c^2*x^2*(1/(c^2*x^2) - 1) - 1) - c^3*arctan(c*x*sqrt
(-1/(c^2*x^2) + 1)))/c - 2*arccsc(c*x)/x^2) + 2*a*d*e*log(x) - 1/2*a*d^2/x^2 + 1/4*(4*I*b*c^2*d*e*log(-c*x + 1
)*log(x) + 4*I*b*c^2*d*e*log(x)^2 + 4*I*b*c^2*d*e*dilog(c*x) + 4*I*b*c^2*d*e*dilog(-c*x) + 2*(b*c^2*arctan2(1,
 sqrt(c*x + 1)*sqrt(c*x - 1)) + I*b*c^2*log(c))*e^2*x^2 + I*b*e^2*log(c*x - 1) - I*(b*e^2*(log(c*x + 1)/c^2 +
log(c*x - 1)/c^2) + 16*b*d*e*integrate(1/2*log(x)/(c^2*x^3 - x), x))*c^2 + 4*c^2*integrate(1/2*(b*e^2*x^2 + 4*
b*d*e*log(x))*sqrt(c*x + 1)*sqrt(c*x - 1)/(c^2*x^3 - x), x) + (-I*b*c^2*e^2*x^2 - 4*I*b*c^2*d*e*log(x))*log(c^
2*x^2) + (4*I*b*c^2*d*e*log(x) + I*b*e^2)*log(c*x + 1) + (2*I*b*c^2*e^2*x^2 + 8*(b*c^2*arctan2(1, sqrt(c*x + 1
)*sqrt(c*x - 1)) + I*b*c^2*log(c))*d*e)*log(x))/c^2

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{a e^{2} x^{4} + 2 \, a d e x^{2} + a d^{2} +{\left (b e^{2} x^{4} + 2 \, b d e x^{2} + b d^{2}\right )} \operatorname{arccsc}\left (c x\right )}{x^{3}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d)^2*(a+b*arccsc(c*x))/x^3,x, algorithm="fricas")

[Out]

integral((a*e^2*x^4 + 2*a*d*e*x^2 + a*d^2 + (b*e^2*x^4 + 2*b*d*e*x^2 + b*d^2)*arccsc(c*x))/x^3, x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \operatorname{acsc}{\left (c x \right )}\right ) \left (d + e x^{2}\right )^{2}}{x^{3}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x**2+d)**2*(a+b*acsc(c*x))/x**3,x)

[Out]

Integral((a + b*acsc(c*x))*(d + e*x**2)**2/x**3, x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (e x^{2} + d\right )}^{2}{\left (b \operatorname{arccsc}\left (c x\right ) + a\right )}}{x^{3}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d)^2*(a+b*arccsc(c*x))/x^3,x, algorithm="giac")

[Out]

integrate((e*x^2 + d)^2*(b*arccsc(c*x) + a)/x^3, x)